﻿using System;
using NTTDATA.BEENChina.ResultCertification.Main.ServiceLog;


namespace NTTDATA.BEENChina.ResultCertification.Main.Logic
{
    public class CallBackEvent :  ILogServiceCallback
    {
        public void SendToClients(string msg, DateTime sendTime)
        {
            if (this.MessageReceived != null)
            {
                CallbackRecEventArgs arg = new CallbackRecEventArgs( msg, sendTime);
                this.MessageReceived(this, arg);

            }  
        }

        public event EventHandler<CallbackRecEventArgs> MessageReceived; 
    }
}
